{% load i18n %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}"
    xml:lang="{% firstof LANGUAGE_CODE 'en' %}"
    lang="{% firstof LANGUAGE_CODE 'en' %}">
<head>
    <title>{% block title %}{% endblock %} - {{ g_blog.title }}</title>
    <meta name="wumiiVerification" content="6977bf81-03b9-4d4d-9129-22b9f92a4fb6" />
    <meta name="8le8le_union_verify" content="f3d312a2af12b3d7346d2ebe7e3cf82f"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    {%if g_blog.head_metas%}{{g_blog.head_metas|safe}}{%endif%}
    <link rel="stylesheet" href="/media/css/reset-fonts-grids.css" type="text/css" />
    <style type="text/css">
    #custom-doc { width:74.54em;*width:72.74em;width:969px;min-width:969px; margin:auto; text-align:left; }
    </style>   
    {% block css %}
    <link rel="stylesheet" href="/media/blueprintcss/typography.css" type="text/css" />
    <link rel="stylesheet" href="/media/blueprintcss/forms.css" type="text/css" />
    <link rel="stylesheet" href="/media/css/main.css" type="text/css" />
    {% endblock %}
    {% block js %}{% endblock %}
    {% block extra-head %}{% endblock %}    
</head>
<body>
<div id="custom-doc" class="yui-t5">

    <div id="hd" role="banner">
    <div id="headtop">{% if user.is_authenticated %}{% trans "user" %}: <strong>{{ user }}</strong> | <a href="{% url app1.views.profile %}">{% trans "Profile" %}</a> |  {% if user.is_superuser %}<a href="{% url app1.views.emptymem %}">{% trans "Flush Cache" %}</a> | {%endif%}<a href="{% url django.contrib.auth.views.logout %}">{% trans "Logged out" %}</a> {% else %}<a href="{% url django.contrib.auth.views.login %}">{% trans "Secure login with google account" %}</a>{% endif %}</div>
    <div><h1><a href="/" title="{{ g_blog.title }}">{{ g_blog.title }}</a> <em title="{{ g_blog.subtitle }}">{{ g_blog.subtitle }}</em></h1>
    
        <ul class="nav">
        {% block nav %}
        <li class="curselect"><a href="{% url app1.views.index %}" title="CMS">主页</a></li>
        <!--<li><a href="{% url app2.views.index %}" title="{% trans 'BBS' %}">{% trans 'BBS' %}</a></li>-->
        <li><a href="http://musicmeta.shrekwang.com/" target="blank">音乐百科</a></li>
        <li><a href="http://musicmeta.shrekwang.com/user:wangxing.pku" target="blank">关于我</a></li>
        {% endblock %}
        </ul>
    </div>
    </div>
        
    <div id="bd" role="main">
    {% block content %}
	{% endblock %}
	</div>
    
    <div id="ft" role="contentinfo">
        <p style="float:left;">本作品采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">知识共享署名-非商业性使用-相同方式共享 2.5 中国大陆许可协议</a>进行许可。<br/>

    Powered by <a href="http://code.google.com/p/gae-django-cms/" target="_blank" title="gae-django-cms">gae-django-cms</a> 
    &
    <a href="http://code.google.com/p/app-engine-patch/" target="_blank" rel="nofollow">app-engine-patch</a>    
    &
    <a href="http://code.google.com/appengine/" target="_blank" rel="nofollow">Google App Engine</a>,
    Theme by <a href="http://keb-log.appspot.com" target="_blank" title="keb-log">keb-log</a>
    </p>
    <p style="float:right;"><a href="#top"> Top&uarr;</a></p>
    </div>
    
</div>
{%if g_blog.analytics%}{{g_blog.analytics|safe}}{%endif%}
</body>
</html>
